package com.koron.operation.classes.form.bean.convertor;

import com.koron.operation.classes.form.bean.dto.ClassesFormRankDTO;
import com.koron.operation.classes.form.bean.po.ClassesFormRank;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author jzp
 * @since 2023/7/19
 */
@Mapper(componentModel = "spring")
public interface ClassesFormRankConvertor {

    ClassesFormRankDTO entityToDto(ClassesFormRank classesFormRank);

    List<ClassesFormRankDTO> entityListToDtoList(List<ClassesFormRank> classesFormRankList);

}
